﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace GuiLayer
{
    /// <summary>
    /// Interaction logic for ApAlgemeen.xaml
    /// </summary>
    public partial class ApAlgemeen : Window
    {
        public ApAlgemeen()
        {
            InitializeComponent();
        }

        private void btnVerhuurd_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
            ApVerhuurd f2 = new ApVerhuurd();
            f2.ShowDialog();
            
        }

        private void btnKlant_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
            ApKlantenAlgemeen f1 = new ApKlantenAlgemeen();
            f1.ShowDialog();
            
        }

        private void btnFiliaal_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
            ApFiliaalAlgemeen f3 = new ApFiliaalAlgemeen();
            f3.ShowDialog();
           
        }

        private void btnWagens_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
            ApWagenAlgemeen f4 = new ApWagenAlgemeen();
            f4.ShowDialog();
            
        }

        private void btnTerug_Click(object sender, RoutedEventArgs e)
        {
            this.Close();
            ApLogin f5 = new ApLogin();
            f5.ShowDialog();
        }

        private void btnNieuwVerhuurd_Click_1(object sender, RoutedEventArgs e)
        {
            this.Close();
            ApVerhuurdNieuw f2 = new ApVerhuurdNieuw();
            f2.ShowDialog();
        }
    }
}
